package com.mark.mall.admin.platform.dto;

import com.mark.mall.admin.platform.entity.Order;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author admin
 * Created on 2021/3/3 10:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("销售单详情")
@NoArgsConstructor
public class OrderDetailDTO extends OrderDTO {
    @ApiModelProperty(value = "销售单具体信息")
    private List<ODetailDTO> orderDetailList;

    public OrderDetailDTO(Order order) {
        super(order);
    }
}
